/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.dto.hr.recruitment;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.Tools.DateUtil;
import com.plian.system.entity.hr.recruitment.RecruitmentManagement;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 招聘管理数据传输对象实体类
 *
 * @author gangan
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RecruitmentManagementDTO extends RecruitmentManagement {
	private static final long serialVersionUID = 1L;

	/**
	 * 招聘时间起始
	 */
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	private Date recruitmentTimeStart;

	/**
	 * 招聘时间结束
	 */
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	private Date recruitmentTimeEnd;

	/**
	 * 用工单据时间-起始
	 */
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	private Date enterpriseTimeStart;

	/**
	 * 用工单据时间-结束
	 */
	@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
	@JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
	private Date enterpriseTimeEnd;

	private List<String> companyNameIds;

	/**
	 * 用工计划属性
	 */
	private List<String> planAttributeIds;

	/**
	 * 招聘方式
	 */
	private List<String> recruitmentMethodsIds;

}
